﻿using AuthCenter.Api.Read.Application.Command.Menu;
using AuthCenter.Api.Read.Application.Command.Role;
using AuthCenter.Api.Read.Application.Command.RoleMenu;
using AuthCenter.Api.Read.Application.Command.User;
using AuthCenter.Api.Read.Application.Hander.Role;
using AuthCenter.Api.Read.Application.Output;
using AuthCenter.Domain;
using AutoMapper;

namespace AuthCenter.Api.Read
{
    public class AutoMapperFail:Profile
    {
        public AutoMapperFail() 
        {
            CreateMap<UserOutput, UserModel>().ReverseMap();
            CreateMap<RoleOutput, RoleModel>().ReverseMap();
            CreateMap<UserRoleOutput, UserRoleModel>().ReverseMap();
            CreateMap<MenuOutput, MenuModel>().ReverseMap();
            CreateMap<PersonOutput, MenuModel>().ReverseMap();
            CreateMap<RoleMenuOutput, RoleMenuModel>().ReverseMap();
          
        }
    }
}
